<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <!-- Sidebar user panel -->
        <div class="user-panel">
            <div class="pull-left image">
                <img src="__BOWER__/admin-lte/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
            </div>
            <div class="pull-left info">
                <p><?php echo session('admin.username'); ?></p>
                <a href="#"><i class="fa fa-circle text-success"></i> 在线</a>
            </div>
        </div>
        <!-- search form -->
        <form action="#" method="get" class="sidebar-form">
            <div class="input-group">
                <input type="text" name="q" class="form-control" placeholder="Search...">
                <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
                </button>
              </span>
            </div>
        </form>
        <!-- /.search form -->
        <!-- sidebar menu: : style can be found in sidebar.less -->
        <ul class="sidebar-menu" data-widget="tree">

            <li><a href="{:url('/admin/index/index')}"><i class="fa fa-dashboard text-blue"></i> <span>控制台</span></a></li>
            <li><a href="{:url('/admin/banner/index')}"><i class="fa  fa-list"></i> <span>轮播图</span></a></li>
            <li>
                <a href="{:url('/admin/user/index')}"><i class="fa fa-users"></i> <span>会员管理</span>
                    <span class="pull-right-container">
                      <!--<small class="label pull-right bg-green">{:$member}</small>-->
                    </span>
                </a>
            </li>
            <li><a href="{:url('/admin/infocate/index')}"><i class="fa  fa-th"></i> <span>资讯分类管理</span></a></li>
            <li><a href="{:url('/admin/info/index')}"><i class="fa  fa-list"></i> <span>资讯管理</span></a></li>
            <li class="treeview">
                <a href="#">
                    <i class="fa fa-paw"></i> <span>活动管理</span>
                    <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
                </a>
                <ul class="treeview-menu">
                    <?php foreach($actcate as $item){ ?>
                    <li><a href="{:url('/admin/activity/index/aid/'.$item.act_id)}"><i class="fa fa-circle-o"></i>{$item.act_title}</a></li>
                    <?php } ?>
                </ul>
            </li>
            <li><a href="{:url('/admin/dynamic/index')}"><i class="fa fa- fa-clock-o"></i> <span>24hours</span></a></li>
            <li><a href="#"><i class="fa fa-wechat (alias)"></i> <span>微信管理</span></a></li>
            <li>
                <a href="{:url('/admin/user/admin')}"><i class="fa fa-user"></i> <span>管理员管理</span>
                    <span class="pull-right-container">
                      <small class="label pull-right bg-green">{:$admintotal}</small>
                    </span>
                </a>
            </li>
            <li><a href="{:url('/admin/user/role')}"><i class="fa fa-meh-o"></i> <span>角色管理</span></a></li>
            <li><a href="#"><i class="fa fa-gears (alias)"></i> <span>系统设置</span></a></li>
        </ul>
    </section>
    <!-- /.sidebar -->
</aside>